package com.springcloud;

import com.springcloud.mq.MyInputStream;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.stream.annotation.EnableBinding;

/**
 * @Author 咕唧
 * @Date 2022/6/28 21:03
 * @Version 1.0
 */
@SpringBootApplication
@EnableBinding({MyInputStream.class})//开启binding,里面的类就是output或者input的接口
public class OutputStartApp {
    public static void main(String[] args) {

        SpringApplication.run(OutputStartApp.class, args);
    }
}
